Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store client information on storageconsumer status #2195

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

leelavg
Copy link
Contributor

@leelavg leelavg commented Sep 22, 2023

  • adds new fields to existing RPC message
  • these fields are updated in status of corresponding storageconsumer CRs
  • the status will be helpful for exporting new metrics

api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
services/provider/status/status.go Outdated Show resolved Hide resolved
services/provider/status/status.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/status/status.go Outdated Show resolved Hide resolved
services/provider/server/server_test.go Show resolved Hide resolved
@iamniting
Copy link
Member

I think we also need to update the PR title and commit msg as I don't see any metrics work done here.

@leelavg leelavg changed the title Introduce client csi metrics store client information on storageconsumer status Oct 19, 2023
services/provider/client/client.go Outdated Show resolved Hide resolved
services/provider/client/client.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/server/server.go Outdated Show resolved Hide resolved
services/provider/status/status.go Outdated Show resolved Hide resolved
@leelavg leelavg force-pushed the csi-metrics branch 2 times, most recently from cde722b to a8e0495 Compare October 25, 2023 05:00
@leelavg leelavg requested a review from Madhu-1 October 25, 2023 13:58
Copy link
Member

@Madhu-1 Madhu-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocking comments for merging the PR.

services/provider/client/client.go Outdated Show resolved Hide resolved
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
@leelavg leelavg force-pushed the csi-metrics branch 2 times, most recently from 594fcb6 to cda1bf5 Compare October 27, 2023 07:23
@leelavg leelavg requested a review from nb-ohad October 27, 2023 10:59
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/client/client.go Outdated Show resolved Hide resolved
services/provider/server/consumer.go Outdated Show resolved Hide resolved
services/provider/server/server.go Outdated Show resolved Hide resolved
@leelavg leelavg force-pushed the csi-metrics branch 2 times, most recently from 5979a58 to 6b2cc7a Compare October 30, 2023 06:39
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
services/provider/client/client.go Outdated Show resolved Hide resolved
services/provider/client/client.go Outdated Show resolved Hide resolved
services/provider/consumerstatus/status.go Outdated Show resolved Hide resolved
services/provider/server/server.go Outdated Show resolved Hide resolved
services/provider/client/client.go Outdated Show resolved Hide resolved
api/v1alpha1/storageconsumer_types.go Outdated Show resolved Hide resolved
@nb-ohad
Copy link
Contributor

nb-ohad commented Oct 31, 2023

/lgtm

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 31, 2023
@leelavg
Copy link
Contributor Author

leelavg commented Oct 31, 2023

@iamniting quick check, any idea why verify-latest-csv failing in CI, it's passing for me locally

[...]
reading CRD file deploy/csv-templates/crds/noobaa/noobaa-crd.yaml
Verifying latest CSV
hack/verify-latest-csv.sh
Success: no out of source tree changes found for CSV

Edit: Force push worked, pls disregard.

- adds new fields to existing RPC message
- these fields are updated in status of corresponding storageconsumer CRs
- the status will be helpful for exporting new metrics

Signed-off-by: Leela Venkaiah G <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 31, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, leelavg, nb-ohad

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot merged commit 5ea7bff into red-hat-storage:fusion-hci-4.14 Oct 31, 2023
6 checks passed
@leelavg leelavg deleted the csi-metrics branch December 11, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants